package fuxi;

import java.util.Scanner;

public class demo2 {

    private int age;

    public void setAge(int age) {
        if (age<0 ||age>130){
            System.out.println("不合法");
        }else {
            this.age = age;

        }}}




